package com.dhsc.controller.jyjk.zxyc;

import com.dhsc.domain.jkzx.zxjh.GlyfzVo;
import com.dhsc.domain.jkzx.zxjh.YzszVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.jyjk.zxyc.IYzszService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Description:阈值设置
 * @return: null
 * @Author: CDW
 * @Date: 2023/9/20 15:55
 */
@Controller
@RequestMapping("/jyjk/zxycjk")
public class YzszController {

    @Autowired
    private IYzszService yzszService;

    /**
     * @Description:查询账户实名制异常监控   规则表   信息
     * @return: com.dhsc.domain.yypt.LayuiTableVo
     * @Author: CDW 
     * @Date: 2023/9/13 10:37
     * @param y: 
     */
    @ResponseBody
    @RequestMapping(value="/selectzruleinfo")
    public LayuiTableVo selectzruleinfo(YzszVo y){
        return yzszService.selectzruleinfo(y);
    }

    /**
     * @Description: 查询阀值字典表   通过父类查询子类
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW 
     * @Date: 2023/9/13 10:37
     * @param y: 
     */
    @ResponseBody
    @RequestMapping(value="/selectFZDictionaryByParent")
    public ResponseObject selectFZDictionaryByParent(YzszVo y){
        return yzszService.selectFZDictionaryByParent(y);
    }

    /**
     * @Description: 查询管理员阀值表
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW 
     * @Date: 2023/9/13 10:37
     * @param g: 
     */
    @ResponseBody
    @RequestMapping(value="/selectZThresholdSet")
    public ResponseObject selectZThresholdSet(GlyfzVo g){
        return yzszService.selectZThresholdSet(g);
    }

    /**
     * @Description:管理员设置阀值表
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW 
     * @Date: 2023/9/13 10:37
     * @param g: 
     */
    @ResponseBody
    @RequestMapping(value="/setZThresholdSet")
    public ResponseObject setZThresholdSet(GlyfzVo g){
        return yzszService.setZThresholdSet(g);
    }
}
